<#include "macro_common.ftl">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <!-- jQuery -->
    <script src="<@context/>common/jquery-1.11.1/jquery.min.js"></script>

    <link href="<@context/>styles/icons.css" rel="stylesheet" />
    <!-- Bootstrap stylesheets (included template modifications) -->
    <link href="<@context/>styles/bootstrap.css" rel="stylesheet" />
    <!-- Plugins stylesheets (all plugin custom css) -->
    <link href="<@context/>styles/plugins.css" rel="stylesheet" />
    <!-- Main stylesheets (template main css file) -->
    <link href="<@context/>styles/main.css" rel="stylesheet" />
    <!-- Custom stylesheets ( Put your own changes here ) -->
    <link href="<@context/>styles/custom.css" rel="stylesheet" />
    
	 <!-- TokenInput -->
	<link href="<@context/>common/input-token-1.6.0/css/token-input-bootstrappy.css" rel="stylesheet" type="text/css"/>
	<link href="<@context/>common/input-token-1.6.0/css/token-input-facebook.css" rel="stylesheet" type="text/css"/>
		
   <!-- angular -->
    <script src="<@context/>common/angular-1.3.0-beta.15/angular.js"></script>
    <script src="<@context/>common/angular-1.3.0-beta.15/angular-route.js"></script>
    <script src="<@context/>common/ui-bootstrap/ui-bootstrap-0.8.0.js"></script>
<!--[if lt IE 9]><script src="<@context/>common/bootstrap303/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="<@context/>common/bootstrap303/js/html5shiv.js"></script>
  <script src="<@context/>common/bootstrap303/js/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="<@context/>common/jquery-plugins/zTree/css/zTreeStyle/zTreeStyle.css" />
<script type="text/javascript" src="<@context/>common/jquery-plugins/zTree/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="<@context/>common/My97DatePicker/WdatePicker.js"></script>
<link rel="stylesheet" type="text/css" href="<@context/>common/highslide-4-1-13/highslide/highslide.css" />
<script type="text/javascript"  src="<@context/>common/highslide-4-1-13/highslide/highslide-with-html.js"></script>

<!-- ArtDialog[弹出框插件] -->
<!--
<script type ="text/javascript" src="<@context/>common/artDialog4/artDialog.source.js?skin=ericsson1"></script>
<script type ="text/javascript" src="<@context/>common/artDialog4/plugins/iframeTools.source.js"></script>
-->
<!-- tokeninput[自动补全输入框] -->    
<script src="<@context/>common/input-token-1.6.0/jquery.tokeninput.js"></script>
<!-- 自定义JS -Jquery表单校验中文信息-->
<script src="<@context/>common/jquery-validate-1.13.0/jquery.validate.min.js"></script>
<script src="<@context/>common/jquery-validate-1.13.0/jquery.validate.cn.js"></script>
<script src="<@context/>common/jquery-validate-1.13.0/jquery.metadata.js"></script>
 
<style type="text/css">
* {font-family:inherit,Arial,verdana,tahoma;margin:0px;padding:0px;font-size:12px;}
a { text-decoration: none; cursor:hand} 

/************jQuery.Validate插件样式开始********************/
label.error
{
    background: url(common/jquery-validate-1.13.0/images/error.png) no-repeat 0px 0px;
    color: Red;
    padding-left: 20px;
}
label.success
{			
   background:url("common/jquery-validate-1.13.0/images/checked.gif") no-repeat 0px 0px; 
}
input.error
{
    border: dashed 1px red;
}
/************jQuery.Validate插件样式结束********************
</style>

<script type="text/javascript" >
	hs.graphicsDir = '<@context/>common/highslide-4-1-13/highslide/graphics/';
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'draggable-header';
	hs.minWidth=600;
	hs.minHeight=870;
    hs.preserveContent=false;
	function tip_info() {
	   // $('#div_action_result',window.parent.parent.frames['topFrame'].document).html(document.getElementById('div_action_result').innerHTML);
       // setTimeout( "$('#div_action_result',window.parent.parent.frames['topFrame'].document).html('')", 2000);
       $('#status').html(document.getElementById('div_action_result').innerHTML);
       setTimeout( "$('#status').html('')", 2000);
       
       	 
	}	
	function data_table() {
	    $('#example').dataTable( {
	        "language": {
	            "lengthMenu": "显示行数  _MENU_ ",
	            "zeroRecords": "没有匹配的记录",
	            "info": "页   _PAGE_ of _PAGES_",
	            "sSearch": "搜索",
	            "infoEmpty": "No records available",
	            "paginate": {
					           "previous": "前页",
					            "next": "后页"
					          },
	            "infoFiltered": "(filtered from _MAX_ total records)"
	        }
	    } );
	}	
	function action_common(url,para){
		$.ajax({
	        type:"POST",
	        url: url,
	        data:para,
	        cache: false,
	        success: function(html){
	            document.getElementById('div_action_result').innerHTML=html;
	        	tip_info();   	 
	        }
	    });  
	}
	var ctx="<@context/>";
</script>	
</head>	
<body>